package demo.restful;

import javax.xml.bind.annotation.XmlRootElement;
import java.util.Collection;

/**
 * Created by IntelliJ IDEA.
 * User: jinshengyuan
 * Date: 2019-02-22
 * Time: 11:26
 * description:
 **/
@XmlRootElement(name = "Category")
public class Category {
    private String categoryId;
    private String categoryName;
    private Collection<Book> books;

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public Collection<Book> getBooks() {
        return books;
    }

    public void setBooks(Collection<Book> books) {
        this.books = books;
    }
}
